﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Web.Master" Inherits="System.Web.Mvc.ViewPage<MVCWeb.Models.CustomerModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>My Profile</h2>

    <fieldset>
        <legend>Info:</legend>
        
        <div class="display-label" style="float: left"><b>User ID:&nbsp</b></div>
        <div class="display-field" style="float: left"><%: Model.customer_id %></div>
        <br />
        <div class="display-label" style="float: left"><b>Email:&nbsp</b></div>
        <div class="display-field" style="float: left"><%: Model.email %></div>
        <br />     
        <div class="display-label" style="float: left"><b>First Name:&nbsp</b></div>
        <div class="display-field" style="float: left"><%: Model.first_name %></div>
        <br />
        <div class="display-label" style="float: left"><b>Last Name:&nbsp</b></div>
        <div class="display-field" style="float: left"><%: Model.last_name %></div>
        <br />
        <div class="display-label" style="float: left"><b>Address:&nbsp</b></div>
        <div class="display-field" style="float: left"><%: Model.address %></div>
        <br />
        <div class="display-label" style="float: left"><b>City:&nbsp</b></div>
        <div class="display-field" style="float: left"><%: Model.city %></div>
        <br />
        <div class="display-label" style="float: left"><b>State:&nbsp</b></div>
        <div class="display-field" style="float: left"><%: Model.state %></div>
        <br />
        <div class="display-label" style="float: left"><b>Zip:&nbsp</b></div>
        <div class="display-field" style="float: left"><%: Model.zip %></div>
        
    </fieldset>
    <p>
        <%: Html.ActionLink("Change Address", "WebEdit", new { id = Model.customer_id}, null) %> 
    </p>

</asp:Content>

